<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>webgpu-samples: resizeCanvas</title>
    <style>
      :root {
        color-scheme: light dark;
      }
      html, body {
        margin: 0;      /* remove default margin */
        height: 100%;   /* make body fill the browser window */
        text-align: center;
      }
      canvas {
        width: 600px;
        height: 600px;
        max-width: 100%;
      }
    </style>
    <link href="animatedCanvasSize.module.css" rel="stylesheet">
    <script defer src="main.js" type="module"></script>
    <script defer type="module" src="../../js/iframe-helper.js"></script>
  </head>
  <body>
    <canvas class="animatedCanvasSize"></canvas>
  </body>
</html>
